package cn.tedu.blog.server.service.impl;

import cn.tedu.blog.server.mapper.TagMapper;
import cn.tedu.blog.server.pojo.vo.TagDetailVO;
import cn.tedu.blog.server.service.ITagService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Slf4j
@Service
public class TagServiceImpl implements ITagService {
    @Autowired
    TagMapper tagMapper;
    @Override
    public List<TagDetailVO> select() {
        log.debug("正在执行tag标签列表查询");
       List<TagDetailVO> list = tagMapper.select();
        return list;
    }
}
